package com.maistars.spider.service.domain.rule;

import lombok.Builder;
import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/**
 * @author dhr
 * @date 2021/4/11 下午2:29
 */
@Builder
@Getter
public class PatternUrlRule extends UrlRule{

    private Integer patternType;

    private String urlPattern;

    private String fillHead;

    private String fillTail;

    private Map<String,String> params = new HashMap<>();

    @Override
    public Integer getType() {
        return 1;
    }
}
